<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ page import="com.goodedeeds.webapp.controller.ResourcePageAction" %>
<%--@elvariable id="actionBean" type="com.goodedeeds.webapp.controller.ResourcePageAction"--%>
<%@ include file="/WEB-INF/jsp/include/taglibs.jsp"%>
<div style="text-align: center; font-size: 1.5em;">View Resource Page</div>
<div>Id: ${actionBean.resourcePage.pageId}</div>
<div>pageResourceType: ${actionBean.resourcePage.parentResourceType}</div>
<div>pageResourceId: ${actionBean.resourcePage.parentResourceId}</div>
<div>pageType: ${actionBean.resourcePage.pageType}</div>
<div>pageName: ${actionBean.resourcePage.pageName}</div>
<div>pageHeader: <textarea readonly="readonly">${actionBean.resourcePage.pageHeader}</textarea></div>
<div>pageBody: <textarea readonly="readonly">${actionBean.resourcePage.pageBody}</textarea></div>
<div>Created Date: ${actionBean.resourcePage.createdDate}</div>
<div>Modified Date: ${actionBean.resourcePage.modifiedDate}</div>
<div>
    <stripes:link href="<%=ResourcePageAction.URL%>" event="edit">
        <stripes:param name="pageId" value="${actionBean.resourcePage.pageId}"/>
        Edit
    </stripes:link>
</div>